Handling Cyclic Conjunctive Queries
نویسندگان
چکیده
Query containment for conjunctive queries is the problem of checking whether a query q is contained in another query q′ with respect to a given Description Logic schema S. It is known that query containment can also be used to answer queries. Query containment is important in many areas, including information integration, query optimisation, and reasoning about Entity-Relationship diagrams, while query languages that allow the use of variables and individuals in a query, such as conjunctive queries, become a more and more important topic in the area of ontology development and the Semantic Web. We introduce the existing algorithms to decide query containment resp. query answering, and show by means of an example that these algorithms are incomplete for some cyclic queries. We highlight the sources of incompleteness that are easily overlooked in the development of suitable algorithms and suggest an extended algorithm to overcome these problems.
منابع مشابه
Queries and Updates in the coDB Peer to Peer Database System
In this short paper we present the coDB P2P DB system. A network of databases, possibly with different schemas, are interconnected by means of GLAV coordination rules, which are inclusions of conjunctive queries, with possibly existential variables in the head; coordination rules may be cyclic. Each node can be queried in its schema for data, which the node can fetch from its neighbours, if a c...
متن کاملCombined Tractability of Query Evaluation via Tree Automata and Cycluits (Extended Version)
We investigate parameterizations of both database instances and queries that make query evaluation fixed-parameter tractable in combined complexity. We introduce a new Datalog fragment with stratified negation, intensional-clique-guarded Datalog (ICG-Datalog), with linear-time evaluation on structures of bounded treewidth for programs of bounded rule size. Such programs capture in particular co...
متن کاملContainment and Optimization of Object-Preserving Conjunctive Queries
In the optimization of queries in an object-oriented database system (OODB), a natural rst step is to use the typing constraints imposed by the schema to transform a query into an equivalent one that logically accesses a minimal set of objects. We study a class of queries for OODB's called conjunctive queries. Variables in a conjunctive query range over heterogeneous sets of objects. Consequent...
متن کاملOn the First-Order Reducibility of Unions of Conjunctive Queries over Inconsistent Databases
Recent approaches in the research on inconsistent databases have started analyzing the first-order reducibility of consistent query answering, i.e., the possibility of identifying classes of queries whose consistent answers can be obtained by a first-order (FOL) rewriting of the query, which in turn can be easily formulated in SQL and directly evaluated through any relational DBMS. So far, the ...
متن کاملEecient Self-maintenance of Materialized Views
We address the problem of incrementallymaintaining a materialized view using the view instance and the update but with only limited access to the base data. We give necessary and su cient conditions for self-maintainability (handling updates without looking at all base data) for conjunctive-query (CQ) views. These conditions, which we call Complete Tests for Self-Maintainability or CTSM in shor...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2005